projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
33f8eee
)
(back_comment): Only check nestedness of 2nd char if needed.
author
Stefan Monnier
<monnier@iro.umontreal.ca>
Tue, 25 Feb 2003 01:36:23 +0000
(
01:36
+0000)
committer
Stefan Monnier
<monnier@iro.umontreal.ca>
Tue, 25 Feb 2003 01:36:23 +0000
(
01:36
+0000)
src/syntax.c
patch
|
blob
|
history
diff --git
a/src/syntax.c
b/src/syntax.c
index 799f44d3c2fe8b3ab49c0982388538dc435c1b8d..cd0d52f33902a0df7e97730c4313f3449fc24fc2 100644
(file)
--- a/
src/syntax.c
+++ b/
src/syntax.c
@@
-609,7
+609,7
@@
back_comment (from, from_byte, stop, comnested, comstyle, charpos_ptr, bytepos_p
case Sendcomment:
if (SYNTAX_FLAGS_COMMENT_STYLE (syntax) == comstyle
- && (
SYNTAX_FLAGS_COMMENT_NESTED (prev_syntax
)
+ && (
(com2end && SYNTAX_FLAGS_COMMENT_NESTED (prev_syntax)
)
|| SYNTAX_FLAGS_COMMENT_NESTED (syntax)) == comnested)
/* This is the same style of comment ender as ours. */
{